/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package thienphuc.patient.dao.impl;

import java.util.List;
import thienphuc.patient.dao.AbstractHibernateDaoSupport;
import thienphuc.patient.dao.DichVuLamSanDAO;
import thienphuc.patient.dto.BenhAn;
import thienphuc.patient.dto.DichVuLamSan;

/**
 *
 * @author QuocDat
 */
public class DichVuLamSanDAOImpl extends AbstractHibernateDaoSupport<DichVuLamSan, Integer> implements DichVuLamSanDAO {

    public DichVuLamSanDAOImpl(Class<DichVuLamSan> classPersistent) {
        super(classPersistent);
    }

    public List<DichVuLamSan> findByBenhAn(BenhAn benhAn) throws Exception {
        return this.findByProperty(DICH_VU_LAM_SAN_BENH_AN, benhAn);
    }
    
}
